<template>
  <div>
    <Tabbar>
      <tabbar-item link="/home">
        
        <img slot="img_icon" src="~assets/img/tabbar/home.svg">
        <img slot="img_active_icon" src="~assets/img/tabbar/home_active.svg">
        <div slot="text_icon">首页</div>
      </tabbar-item>
      <tabbar-item link="/category">
        
        <img slot="img_icon" src="~assets/img/tabbar/category.svg">
        <img slot="img_active_icon" src="~assets/img/tabbar/category_active.svg">
        <div slot="text_icon">分类</div>
      </tabbar-item>
      <tabbar-item link="/shopcart">
        
        <img slot="img_icon" src="~assets/img/tabbar/shopcart.svg">
        <img slot="img_active_icon" src="~assets/img/tabbar/shopcart_active.svg">
        <div slot="text_icon">购物车</div>
      </tabbar-item>
      <tabbar-item link="/profile">
        
        <img slot="img_icon" src="~assets/img/tabbar/profile.svg">
        <img slot="img_active_icon" src="~assets/img/tabbar/profile_active.svg">
        <div slot="text_icon">我的</div>
      </tabbar-item>
    </Tabbar>
  </div>
</template>

<script>
import Tabbar from "components/common/tabbar/Tabbar"
import TabbarItem from "components/common/tabbar/TabbarItem"

export default {
  name: "MainTabbar",
  components: {
    Tabbar,
    TabbarItem
  }
}
</script>
